package po

import "maya-service/model"

type AnswerData struct {
	Id      int64   `json:"id"`
	Result  []int64 `json:"result"`  // 结果ID
	Correct int     `json:"correct"` // 0 错误 1 正确
	Extra   string  `json:"extra"`   // 扩展字段
}

// AnswerRecordUpdateRequest 更新
type AnswerRecordUpdateRequest struct {
	model.AnswerRecordUpdateRequest
	AnswerValues []*AnswerData `json:"answer_values"`
}

// AnswerRecordCreateRequest 创建
type AnswerRecordCreateRequest struct {
	model.AnswerRecordCreateRequest
	AnswerValues []*AnswerData `json:"answer_values"`
}
